﻿using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace SharePhone.Core.UserProfile
{
    public enum Privacy
    {
        Public,
        Contacts,
        Organization,
        Manager,
        Private,
        NotSet
    }

    [XmlRoot("PropertyData")]
    public class PropertyData
    {
        [XmlElement]
        public string Name { get; set; }

        public ObservableCollection<ValueData> Values { get; set; }

        [XmlElement]
        public Privacy Privacy { get; set; }

        [XmlElement]
        public bool IsPrivacyChanged { get; set; }

        [XmlElement]
        public bool IsValueChanged { get; set; }
    }
}